﻿<Window xmlns:my="clr-namespace:WPFGeebaClient"  x:Class="WPFGeebaClient.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="WPF Geeba Client" Height="703" Width="1065">
    <Window.Background>
        <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop Color="#FFF8F8F8" Offset="0" />
            <GradientStop Color="#FFA0ADB7" Offset="0.965" />
        </LinearGradientBrush>
    </Window.Background>
    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="1042" Height="707">
        <TreeView Name="threadsTreeView" TabIndex="6" HorizontalAlignment="Right" Width="664" BorderBrush="#FFB1B1B1" Margin="0,145,7,59" SelectedItemChanged="threadsTreeView_SelectedItemChanged" /> <!-- SelectedItemChanged="threadsTreeView_SelectedItemChanged" /> -->
        <Image Height="122" HorizontalAlignment="Left" Margin="22,2,0,0" Name="image1" Source="/WPFGeebaClient;component/Images/title.png" Stretch="None" VerticalAlignment="Top" Width="1013" />
        <Button Content="Login" Height="23" HorizontalAlignment="Left" Margin="874,62,0,0" Name="loginBtn" VerticalAlignment="Top" Width="75" Click="loginBtn_Click" TabIndex="4" />
        <Label Content="Username" Height="28" HorizontalAlignment="Left" Margin="675,27,0,0" Name="label1" VerticalAlignment="Top" />
        <Label Content="Password" Height="28" HorizontalAlignment="Left" Margin="678,56,0,0" Name="label2" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="744,29,0,0" Name="usernameTxt" VerticalAlignment="Top" Width="120" TabIndex="1" />
        <ListBox Margin="16,146,677,275" Name="subforumsList" SelectionChanged="subforumsList_SelectionChanged" TabIndex="5" />
        <Label Content="SubForums" Height="28" HorizontalAlignment="Left" Margin="22,123,0,0" Name="label3" VerticalAlignment="Top" />
        <Label Content="Connected as " Height="28" HorizontalAlignment="Left" Margin="394,6,0,0" Name="label4" VerticalAlignment="Top" />
        <Label Content="Privilages:" Height="28" HorizontalAlignment="Left" Margin="408,30,0,0" Name="label5" VerticalAlignment="Top" />
        <Label Content="Threads" Height="28" HorizontalAlignment="Left" Margin="371,124,0,0" Name="label6" VerticalAlignment="Top" />
        <Label Content="Unknown" Height="28" Margin="471,6,0,0" Name="userNameLabel" VerticalAlignment="Top" HorizontalAlignment="Left" Width="176" />
        <Button Content="Register" Height="23" HorizontalAlignment="Left" Margin="874,30,0,0" Name="signBtn" VerticalAlignment="Top" Width="75" Click="signBtn_Click" TabIndex="3" />
        <PasswordBox Height="23" HorizontalAlignment="Left" Margin="744,61,0,0" Name="passwordBox1" VerticalAlignment="Top" Width="120" TabIndex="2" />
        <Label Content="None" Height="28" HorizontalAlignment="Left" Margin="471,30,0,0" Name="privilagesLabel" VerticalAlignment="Top" />
        <Expander Header="Publish Thread (OR comment)" HorizontalAlignment="Left" Margin="12,0,0,59" Name="expanderAddThread" Width="353" Height="213" VerticalAlignment="Bottom" TabIndex="8" Visibility="Hidden">
            <Grid Width="345" Margin="5">
                <Button Content="Publish" Margin="0,0,9,31" Name="addNewThreadBtn" Height="23" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="129" Visibility="Visible" Click="addNewThreadBtn_Click" TabIndex="11" />
                <Image Height="45" HorizontalAlignment="Left" Margin="5,8,0,0" Name="image2" Source="/WPFGeebaClient;component/Images/1337098711_wall%20post.png" Stretch="Fill" VerticalAlignment="Top" Width="46" />
                <Label Content="Subject" Height="28" HorizontalAlignment="Left" Margin="51,7,0,0" Name="label7" VerticalAlignment="Top" />
                <Label Content="Content" Height="28" HorizontalAlignment="Left" Margin="51,60,0,0" Name="label8" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="56,37,0,0" Name="subjectText" VerticalAlignment="Top" Width="280" TabIndex="9" />
                <TextBox Height="40" HorizontalAlignment="Left" Margin="56,84,0,0" Name="contentText" VerticalAlignment="Top" Width="280" TabIndex="10" />
                <CheckBox Content="Comment" Height="16" HorizontalAlignment="Left" Margin="265,14,0,0" Name="commentCheckBox" VerticalAlignment="Top" />
                <Button Content="Member Msg Count " Height="23" HorizontalAlignment="Left" Margin="207,152,0,0" Name="btnGetMemberThreadCount" VerticalAlignment="Top" Width="129" Click="btnGetMemberThreadCount_Click" Visibility="Hidden" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="56,153,0,0" Name="txtGetMemberThreadCount" VerticalAlignment="Top" Width="146" Visibility="Hidden" />
                <Label Content="Member" Height="28" HorizontalAlignment="Left" Margin="51,130,0,0" Name="labelMemberGetMsgCount" VerticalAlignment="Top" Visibility="Hidden" />
            </Grid>
        </Expander>
        <Button Content="Refresh SubForums" Height="23" HorizontalAlignment="Right" Margin="0,0,677,560" Name="refreshSubforumsBtn" VerticalAlignment="Bottom" Visibility="Visible" Width="122" Click="refreshSubforumsBtn_Click" />
        <Label Content="Number of Online Users" Height="28" HorizontalAlignment="Left" Margin="381,88,0,0" Name="label9" VerticalAlignment="Top" />
        <Label Content="-1" Height="28" HorizontalAlignment="Left" Margin="525,88,0,0" Name="labelOnlineUsersCount" VerticalAlignment="Top" />
        
    </Grid>
</Window>
